﻿using Abp.AutoMapper;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.ItemCategories.Dto
{
    /// <summary>
    /// 新增、编辑代码组页面显示数据时的Dto对象，可以被其它Dto使用
    /// </summary>
    [AutoMap(typeof(ItemCategory))]
    public class ItemCategoryEditDto
    {
        public Guid? Id { get; set; }
        /// <summary>
        /// 物品分类
        /// </summary>
        [Required]
        [MaxLength(ItemCategory.MaxNameLength)]
        public virtual string ItemCategoryName { get; set; }
    }
}
